﻿using System;
using Htss.Platform.Data;
namespace DreamBox.Model
{
    [Table(Name = "dbox_User")]
    public class User:BasicModel
    {
        [Field(Name = "UserID",DbFieldType=DbFieldType.PrimaryKey)]
        /// <summary>
        /// 用户ID
        /// </summary>
        /// 
        public int? UserID
        {
            set;
            get;
        }
        [Field(Name = "Email")]
        /// <summary>
        /// 电子邮箱（登陆账号）
        /// </summary>
        public string Email
        {
            set;
            get;
        }
        [Field(Name = "UserName")]
        /// <summary>
        /// 用户名
        /// </summary>
        /// 
        public string UserName
        {
            set;
            get;
        }
        [Field(Name = "Password")]
        /// <summary>
        /// 密码
        /// </summary>
        public string Password
        {
            set;
            get;
        }
        [Field(Name = "Avatar")]
        /// <summary>
        /// 头像地址
        /// </summary>
        public string Avatar
        {
            set;
            get;
        }
        [Field(Name = "Sex")]
        /// <summary>
        /// 性别
        /// </summary>
        public int? Sex
        {
            set;
            get;
        }
        [Field(Name = "Tags")]
        /// <summary>
        /// 标签
        /// </summary>
        public string Tags
        {
            set;
            get;
        }
        [Field(Name = "Signature")]
        /// <summary>
        /// 签名
        /// </summary>
        public string Signature
        {
            set;
            get;
        }
        [Field(Name = "Points")]
        /// <summary>
        /// 积分点数
        /// </summary>
        public int? Points
        {
            set;
            get;
        }
        [Field(Name = "RegisterDate")]
        /// <summary>
        /// 注册时间
        /// </summary>
        public DateTime? RegisterDate
        {
            set;
            get;
        }
        [Field(Name = "LastLoginDate")]
        /// <summary>
        /// 最后登陆时间
        /// </summary>
        public DateTime? LastLoginDate
        {
            set;
            get;
        }
        [Field(Name = "IsStatus")]
        /// <summary>
        /// 用户状态
        /// </summary>
        public bool? IsStatus
        {
            set;
            get;
        }
        [Field(Name = "Plus")]
        /// <summary>
        /// Plus(加)
        /// </summary>
        public int? Plus
        {
            set;
            get;
        }
        [Field(Name = "Location")]
        /// <summary>
        /// 所在城市
        /// </summary>
        public string Location
        {
            get;
            set;
        }
        /// <summary>
        /// 所属用户组
        /// </summary>
        [Field(Name="GID")]
        public int? GID { get; set; }
    }
}

